package com.rcc.mongo.repository;

import com.rcc.mongo.entity.UserMongo;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by rcc on 2017/6/24.
 */
@Repository
public interface UserMongoRepository extends MongoRepository<UserMongo,String> {
    UserMongo findByName(String name);
}
